function window_onload(){
	initDocument();
}

function checkbox_autoDropDown_onclick() {
	dropdown_1.setAttribute("autoDropDown", checkbox_autoDropDown.checked);
	dropdown_2.setAttribute("autoDropDown", checkbox_autoDropDown.checked);
	dropdown_3.setAttribute("autoDropDown", checkbox_autoDropDown.checked);
}

function checkbox_editable_onclick() {
	dropdown_1.setAttribute("dropDown_fixed", checkbox_editable.checked);
	dropdown_2.setAttribute("dropDown_fixed", checkbox_editable.checked);
	dropdown_3.setAttribute("dropDown_fixed", checkbox_editable.checked);
	checkbox_restrict.disabled=checkbox_editable.checked;
}

function checkbox_restrict_onclick() {
	dropdown_1.setAttribute("dropDown_restrict", checkbox_restrict.checked);
	dropdown_2.setAttribute("dropDown_restrict", checkbox_restrict.checked);
	dropdown_3.setAttribute("dropDown_restrict", checkbox_restrict.checked);
}